package com.bugstack.domain.rebate.repository;

import com.bugstack.domain.rebate.model.aggregate.BehaviorRebateAggregate;
import com.bugstack.domain.rebate.model.entity.ActivityAccountEntity;
import com.bugstack.domain.rebate.model.entity.BehaviorEntity;
import com.bugstack.domain.rebate.model.valobj.BehaviorTypeVO;
import com.bugstack.domain.rebate.model.valobj.DailyBehaviorRebateVO;

import java.util.List;

/**
 * @Author: czb
 * @Description: TODO
 * @DateTime: 2025/4/10 18:24
 **/
public interface IBehaviorRebateRepository {
    List<DailyBehaviorRebateVO> queryDailyBehaviorRebateConfig(BehaviorTypeVO behaviorTypeVO);

    void saveUserRebateRecord(String userId, List<BehaviorRebateAggregate> behaviorRebateAggregates);

    List<BehaviorEntity> queryOrderByOutBusinessNo(String userId, String outBusinessNo);

    ActivityAccountEntity queryUserActivityAccount(String userId, Long activityId);
}
